#include <iostream>
#include <string>
using namespace std;

int main(){
	string s = "abc";
	string s1 = "ab";
	printf("%d",s1>s);
	return 0;
} 
